<?php

namespace App\Decorator;

use Common\Interfaces\IController;

class Json implements IController
{
    function beforeRequest($controller)
    {
    }

    function afterRequest($return_value)
    {
        echo json_encode($return_value);
    }
}
